home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / BARNET / ARMLINUX / MAIL / 9806 / 000144_owner-linux-arm…r.rutgers.edu _Fri Jun 12 18:11:43 1998.msg < prev    next >
Internet Message Format  |  1998-06-30  |  4KB

  1. Return-Path: <owner-linux-arm-outgoing@vger.rutgers.edu>
  2. Received: from virtual.bbc.co.uk (virtual.bbc.co.uk [132.185.132.199])
  3.     by odie.barnet.ac.uk (8.8.6/8.8.6) with ESMTP id SAA22663
  4.     for <willy@odie.barnet.ac.uk>; Fri, 12 Jun 1998 18:11:42 +0100
  5. Received: from nic.funet.fi (nic.funet.fi [128.214.248.6])
  6.     by virtual.bbc.co.uk (8.8.5/8.8.5) with ESMTP id SAA17838
  7.     for <willy@bofh.ai>; Fri, 12 Jun 1998 18:12:41 +0100 (BST)
  8. Received: from vger.rutgers.edu ([128.6.190.2]:53321 "EHLO vger.rutgers.edu" ident: "root") by nic.funet.fi with ESMTP id <20188-685>; Fri, 12 Jun 1998 20:12:18 +0300
  9. Received: by vger.rutgers.edu id <971647-14379>; Fri, 12 Jun 1998 11:21:12 -0400
  10. Received: from relay.urz.uni-heidelberg.de ([129.206.119.201]:57063 "EHLO relay.urz.uni-heidelberg.de" ident: "NO-IDENT-SERVICE[2]") by vger.rutgers.edu with ESMTP id <971617-14379>; Fri, 12 Jun 1998 11:21:02 -0400
  11. Received: from ix.urz.uni-heidelberg.de (shanske@aixgraf1.urz.uni-heidelberg.de [129.206.218.162])
  12.     by relay.urz.uni-heidelberg.de (8.8.8/8.8.8) with SMTP id TAA18572
  13.     for <linux-arm@vger.rutgers.edu>; Fri, 12 Jun 1998 19:11:12 +0200 (MET DST)
  14. Received: by ix.urz.uni-heidelberg.de (AIX 3.2/UCB 5.64/4.03aixgraf1)
  15.           id AA33964; Fri, 12 Jun 1998 19:11:11 +0200
  16. Date:     Fri, 12 Jun 1998 19:11:09 +0200 (METDST)
  17. From: Stefan Hanske <shanske@ix.urz.uni-heidelberg.de>
  18. X-Sender: shanske@aixgraf1.urz.uni-heidelberg.de
  19. To: linux-arm@vger.rutgers.edu
  20. Subject: SCSI driver
  21. Message-Id: <Pine.A32.3.91.980612185434.29461A-100000@aixgraf1.urz.uni-heidelberg.de>
  22. Mime-Version: 1.0
  23. Content-Type: TEXT/PLAIN; charset=US-ASCII
  24. X-Orcpt: rfc822;linux-arm@vger.rutgers.edu
  25. Sender: owner-linux-arm@vger.rutgers.edu
  26. Precedence: bulk
  27. X-Loop: majordomo@vger.rutgers.edu
  28. Status: RO
  29.  
  30.  
  31. Hi,
  32.  
  33. I've tried to write a scsi driver for my ARXE 16-bit SCSI card ( no 
  34. problem, it uses the well known fas216 chip in pseudo_dma mode, but has 
  35. no interrupts so you need to poll it yourself until command is completed) 
  36. and came along some very strange things.
  37.  
  38. Reading works very fine, when probing the bus fas216-driver complains 
  39. about "incomplete data transfer detected..." (as usual in fasdma_pio 
  40. mode) but all works well.
  41.  
  42. The strange things happen when WRITE is enabled & done. If you've got a 
  43. writable partition (ext2, msdos...) on your scsi disc, you savely can 
  44. copy to/from the scsi disc.
  45. e2fsck & mke2fs return some error like "Kernel stack corrupted. Aiee!!!"
  46. which is true (believe me, I'm happy if I still can shutdown) and 
  47. tar makes the kernel hang with interrupts enabled (cursor still flashes, 
  48. vt switching works, but you can't do anything else). 
  49.  
  50. I've checked my code over and over again and it's most unlikely that
  51. there's something wrong since it uses all the same routines for read & 
  52. writes and ONLY the actual transfer (r/w bytes from mem/chip) is done 
  53. separately, the datapointers are updated by the same routine again. So I 
  54. came to the conclusion that there are two possibilities left:
  55.  
  56. 1.) Buggy scsi highlevel driver (which is mostly arch independent)
  57. 2.) Buggy highlevel-lowlevel driver interface
  58.  
  59. I'm using kernel v2.0.33 with patches from around 15-04-1998. Anybody's 
  60. got some help???
  61.  
  62. (I've just downloaded the most recent kernel patches and will try again 
  63. if that's what you'd answer.)
  64.  
  65. ----------------------------------------------------------
  66. |mailto: Stefan Hanske (shanske@ix.urz.uni-heidelberg.de |
  67. |WWW : http://www.rzuser.uni-heidelberg.de/~shanske      |
  68. |phone: I'm not silly                                    |
  69. |--------------------------------------------------------|
  70. | And don't forget to remember what you remembered not   |
  71. | to forget to remember...                 |
  72. ----------------------------------------------------------
  73.  
  74. unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu